<template>
  <div class="home">
    home
  <button @click="addCount">{{count}}</button>
  <button @click="addNum">{{num}}</button>
  <p>{{double}} </p>
  </div>
</template>

<script>

import HookCount from "./hooks/count";
import HookNum from "./hooks/num";
export default {
  name: "App",
  setup() {
    const CountState = HookCount();
    const NumState = HookNum()
    return {
      ...CountState,
      ...NumState
    };
  },
};
</script>

<style>
</style>
